{include file=buyer.header.html}
<!-- 内容 -->
<div class="content f-cb">

	<!-- 当前位置 -->
	{include file=path.html}
	<!-- 内容左边栏 -->
	{include file=member.menu.buyer.html}
	<!-- 内容右边栏 -->
	<div class="con-r-common" style="margin-bottom:10px;">
		<dl class="con-notice">
			<dt>
				<ul class="receive-t f-cb">
					<li>
						<a href="index.php?app=my_question" {if !$gets.type}class="current"{/if}>全部留言</a>
					</li>
					<li>
						<a href="index.php?app=my_question&type=reply_qa" {if $gets.type eq 'reply_qa'}class="current"{/if}>已收到回复</a>
					</li>
				</ul>
			</dt>
			<dd class="notice-panes">
				<div class="notice-div">
					<table class="notice-table" width="100%">
						<!--{foreach from=$my_qa_data item=my_qa_list name=v}-->
						<tr>
							<td valign="top" class="f-bbs" width="730">
								<div class="f-cb">
									<p class="notice-p1 f-fl"> <i>您的留言：</i>
										{$my_qa_list.question_content|escape|nl2br}
									</p>
									<p class="f-fl">
										<span>{$my_qa_list.time_post|date:complete}</span>
									</p>
								</div>
								<!--{if $my_qa_list.reply_content neq ''}-->
								<div class="notice-wrap f-cb">
									<p class="notice-p2 f-fl"> <i>{$my_qa_list.store_name} 回复：</i>
										{$my_qa_list.reply_content|escape}
									</p>
									<p class="notice-p3 f-fl">
										<span>{$my_qa_list.time_reply|date:complete}</span>
									</p>
								</div>
								<!--{/if}-->
							</td>
							<td valign="top" class="f-bbs">
								<a href="{url app=$my_qa_list.type&id=$my_qa_list.item_id&act=qa}" target="_blank">
									<img src="{$my_qa_list.goods_img}" alt="" style="border: 1px solid #E2E2E2; width:95px;height:95px;display:block"/>
								</a>
							</td>
						</tr>
						<!--{foreachelse}-->
						<tr char="bgcolor">
							<td colspan="3" class="member_no_records">{$lang.$smarty.get.act}{$lang.no_records}</td>
						</tr>
						<!--{/foreach}-->
					</table>
				</div>
			</dd>
		</dl>
	</div>
	<div class="goods-page">{include file=goods.page.bottom.html}</div>
</div>
<!-- 页脚 -->
{include file=footer.html}